digraph G {
1 -> 2 [color=green]
1 -> 5 [color=red]
2 -> 1 [color=red]
3 -> 5 [color=red]
3 -> 8 [color=green]
4 -> 5 [color=red]
5 -> 1 [color=green]
5 -> 3 [color=green]
5 -> 4 [color=green]
5 -> 6 [color=red]
5 -> 7 [color=blue]
6 -> 5 [color=green]
6 -> 10 [color=red]
7 -> 5 [color=blue]
7 -> 10 [color=red]
7 -> 12 [color=green]
8 -> 3 [color=red]
8 -> 9 [color=green]
8 -> 11 [color=blue]
9 -> 8 [color=red]
10 -> 6 [color=green]
10 -> 7 [color=green]
11 -> 8 [color=blue]
11 -> 12 [color=red]
12 -> 7 [color=red]
12 -> 11 [color=green]
}